package com.qf.bbapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TIntegral)实体类
 *
 * @author makejava
 * @since 2022-07-02 19:24:40
 */
@Data
@TableName("t_integral")
@NoArgsConstructor
public class TIntegral {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer uid;
    /**
     * 积分
     */
    private Integer integral;

    public TIntegral(Integer uid, Integer integral) {
        this.uid = uid;
        this.integral = integral;
    }
}

